﻿@model ShenLanCMS.Models.PostType

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Details</h2>

<fieldset>
    <legend>PostType</legend>

    <div class="display-label">TypeName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TypeName)
    </div>

    <div class="display-label">Keyword</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Keyword)
    </div>

    <div class="display-label">Description</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-label">ParentID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ParentID)
    </div>

    <div class="display-label">Layer</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Layer)
    </div>

    <div class="display-label">IsLast</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsLast)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.PostTypeID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
